-- Basic Cannon

local BULLET = {}

-- General Information
BULLET.Name = "Sabot cannon"
BULLET.Author = "Tech"
BULLET.Description = "Armour piercing sabot round. Credit to Divran."
BULLET.AdminOnly = false
BULLET.SuperAdminOnly = false

-- Appearance
BULLET.Model = "models/combatmodels/tankshell_25mm.mdl"
BULLET.Material = "models/props_c17/frostedglass_01a_dx60"
BULLET.Color = nil
BULLET.Trail = { StartSize = 10,
				 EndSize = 1,
				 Length = 0.05,
				 Texture = "trails/smoke.vmt",
				 Color = Color( 200, 200, 200, 175 ) }

-- Effects / Sounds
BULLET.FireSound = {"m1014_01.Single"}
BULLET.ExplosionSound = {"Impacts/Impact_01.wav","Impacts/Impact_02.wav","Impacts/Impact_03.wav","Impacts/Impact_04.wav","Impacts/Impact_05.wav"}
BULLET.FireEffect = nil
BULLET.ExplosionEffect = "atapsplode"
BULLET.EmptyMagSound = {"weapons/shotgun/shotgun_empty.wav"}

-- Movement
BULLET.Speed = 200
BULLET.Gravity = 0.4
BULLET.RecoilForce = 1000
BULLET.Spread = 0.01

-- Damage
BULLET.DamageType = "SliceDamage"
BULLET.Damage = 400
BULLET.Radius = nil
BULLET.RangeDamageMul = nil
BULLET.NumberOfSlices = 8
BULLET.SliceDistance = 60000
BULLET.ReducedDamagePerSlice = 40
BULLET.PlayerDamage = nil
BULLET.PlayerDamageRadius = nil

-- Reloading/Ammo
BULLET.Reloadtime = 4
BULLET.Ammo = 0
BULLET.AmmoReloadtime = 0

BULLET.EnergyPerShot = 1000

pewpew:AddBullet( BULLET )